package ${package}

import org.apache.spark.{SparkConf, SparkContext}

object HelloWorld {
  def main(args: Array[String]): Unit = {
    val conf = new SparkConf().setAppName("hello").setMaster("local[1]")
    val sc = new SparkContext(conf)
    val words = sc.textFile("aa.txt").flatMap(x => x.split(" "))
    words.foreach(println)
  }
}
